package artid.com.arttogo.bean;

import org.json.JSONObject;

import java.io.Serializable;

/**
 * 
*    
* 项目名称：ArtworkArt   
* 类名称：AuctionMyNoteParser   
* 类描述：我的笔记实体类+解析   
* 创建人：耿卫斌   
* 创建时间：2017-4-1 上午11:10:34   
*
 */
public class AuctionMyNoteParser extends AppItem implements Serializable {
	private static final long serialVersionUID = 1L;
	private String uid;//笔记id
	private String lot_id;//拍品id
	private String create_time;//创建时间
	private String describe;//笔记内容
	private String lot_name;//拍品名称
	private String imgurl;//拍品主图
	private String title;//专场名称
	private String seller_name;//机构名称
	private String address;//地址
	@Override
	public void parse(JSONObject obj) {
		if (null == obj) {
			return;
		}
		uid = obj.optString("uid");
		lot_id = obj.optString("lot_id");
		create_time = obj.optString("create_time");
		describe = obj.optString("describe");
		lot_name = obj.optString("lot_name");
		imgurl = obj.optString("imgurl");
		title = obj.optString("title");
		seller_name = obj.optString("seller_name");
		address = obj.optString("address");
	}
	public String getUid() {
		return uid;
	}
	public void setUid(String uid) {
		this.uid = uid;
	}
	public String getLot_id() {
		return lot_id;
	}
	public void setLot_id(String lot_id) {
		this.lot_id = lot_id;
	}
	public String getCreate_time() {
		return create_time;
	}
	public void setCreate_time(String create_time) {
		this.create_time = create_time;
	}
	public String getDescribe() {
		return describe;
	}
	public void setDescribe(String describe) {
		this.describe = describe;
	}
	public String getLot_name() {
		return lot_name;
	}
	public void setLot_name(String lot_name) {
		this.lot_name = lot_name;
	}
	public String getImgurl() {
		return imgurl;
	}
	public void setImgurl(String imgurl) {
		this.imgurl = imgurl;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getSeller_name() {
		return seller_name;
	}
	public void setSeller_name(String seller_name) {
		this.seller_name = seller_name;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public AuctionMyNoteParser() {
		super();
	}
	
	public AuctionMyNoteParser(String uid, String lot_id, String create_time,
							   String describe, String lot_name, String imgurl, String title,
							   String seller_name, String address) {
		super();
		this.uid = uid;
		this.lot_id = lot_id;
		this.create_time = create_time;
		this.describe = describe;
		this.lot_name = lot_name;
		this.imgurl = imgurl;
		this.title = title;
		this.seller_name = seller_name;
		this.address = address;
	}
	@Override
	public String toString() {
		return "AuctionMyNoteParser [uid=" + uid + ", lot_id=" + lot_id
				+ ", create_time=" + create_time + ", describe=" + describe
				+ ", lot_name=" + lot_name + ", imgurl=" + imgurl + ", title="
				+ title + ", seller_name=" + seller_name + ", address="
				+ address + "]";
	}
}
